#include<iostream>
#include<new>
#include<cstring>
using namespace std;

struct chaff
{
    char dross[20];
    int slag;
};

const int BUF = 512;

char buffer[BUF];

int main()
{
    chaff* ch;
    ch = new(buffer) chaff[6];
    for ( int i = 0; i < 6; i++)
    {
        strcpy(ch[i].dross," good ");
        ch[i].slag =( i + 1 ) * 100;
    }
    for ( int i = 0; i < 6; i++)
    {
        cout << "The #" << i + 1 << "'s dross is " << ch[i].dross << endl;
        cout << " and this slag is " << ch[i].slag << "\n\n";
    }

    return 0;
}